package com.alisls.demo.springcloud.service.user.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import java.util.List;

/**
 * 描述信息
 *
 * @author Ke Wang
 * @date 2020/10/30
 */
@RefreshScope
@ConfigurationProperties(prefix = "service.user")
@Getter
@Setter
public class ServiceUserProp {

    /**
     * 新创建用户默认密码
     */
    private String password;

    /**
     * 可以匿名访问的url
     */
    private List<String> ignoreUrls;

}
